package org.test.service;

import org.test.vo.Orders;

import java.util.List;

public interface OrdersService {
        //所有订单，返回列表
        List<Orders> getAllOrders();

        //添加订单
        int addOrder(int id, int bookId, String bookName, int orderNum, String consignee, String address, String contactWay, int orderPrice, String createTime);

        //删除订单
        int deleteOrder(int orderId);
}
